package com.bio.entity.information;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.bio.entity.attachemnt.BaseObjectAttachment;

@Entity
@Table(name = "table_information_information")
public class Information extends BaseObjectAttachment{

	private static final long serialVersionUID = -4263582284133401206L;

	/**
	 * 发布者名称
	 */
	private String publisherName;
	
	/**
	 * 发布者ID
	 */
	private Long publisherId;
	
	/**
	 * 标题
	 */
	private String title;
	
	/**
	 * 信息类别ID
	 */
	private Long typeId;
	
	/**
	 * 信息类别名称
	 */
	private String typeName;
	
	/**
	 * 状态
	 */
	private String status = "0";
	
	/**
	 * 信息正文
	 */
	private String content;
	
	/**
	 * 公司ID
	 */
	private Long companyId;
	

	@Column(name="publicher_name")
	public String getPublisherName() {
		return publisherName;
	}

	public void setPublisherName(String publisherName) {
		this.publisherName = publisherName;
	}

	@Column(name="publicsher_id")
	public Long getPublisherId() {
		return publisherId;
	}

	public void setPublisherId(Long publisherId) {
		this.publisherId = publisherId;
	}
	
	@Column(name="title")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column(name="type_id")
	public Long getTypeId() {
		return typeId;
	}

	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}

	@Column(name="type_name")
	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	@Column(name="status")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name="content")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column(name="company_id")
	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
}
